<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 页面未找到</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }
        .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
        }
        .error-code {
            font-size: 6rem;
            color: #ff4d4d;
            margin: 0;
        }
        .error-message {
            font-size: 2rem;
            color: #333;
            margin: 1rem 0;
        }
        .description {
            font-size: 1.2rem;
            color: #666;
            text-align: center;
            max-width: 600px;
            margin: 2rem 0;
        }
        .button {
            display: inline-block;
            padding: 10px 20px;
            font-size: 1rem;
            color: #fff;
            background-color: #007bff;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<div class="container">
    <h1 class="error-code">${code}</h1>
    <p class="error-message">${message}</p>
    <p class="description">具体错误信息：${exception}</p>
    <a href="/" class="button">返回首页</a>
</div>
</body>
</html>